package net.qiqbframework.messaging;

import net.qiqbframework.messaging.task.MessageTask;

import javax.annotation.Nonnull;


public interface MessageHandlerInterceptor<T extends Message<?>> {


    Object handle(@Nonnull MessageTask<? extends T> messageTask, @Nonnull InterceptorChain interceptorChain) throws Exception;
}
